import io
import sys

sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
import psutil


def get_system_load():
    load_avg = psutil.getloadavg()
    print(f"1 分钟负载: {load_avg[0]}")
    print(f"5 分钟负载: {load_avg[1]}")
    print(f"15 分钟负载: {load_avg[2]}")


get_system_load()
